#include "widget.h"
#include "ui_widget.h"
#include <QIcon>

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);

    //QIcon icon("d:/picture/popo.jpg");
    QIcon icon(":/popo.jpg");

    this->setWindowIcon(icon);
}

Widget::~Widget()
{
    delete ui;
}
